/**
 * Copyright (C), 2019-2020, 宇信融汇
 * FileName: Pet
 * Author:   xbliu
 * Date:     2020/6/22 17:24
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * xbliu           修改时间           版本号              描述
 */
package c_004.abstractDemo;

/**
 * @Classname Pet
 * @Description 抽象类
 * @Date 2020/6/22 17:24
 * @Created by xbliu
 */
public abstract class Pet {
    private String name;
    private String grender;

    public abstract void print();

    public void play() {
        System.out.println("Pet 抽象类可以存放不是抽象方法");
    }
}
